getApp();

Page({
    data: {
        id: "",
        session_type: ""
    },
    bindViewTap: function() {
        wx.navigateTo({
            url: "../logs/logs"
        });
    },
    onLoad: function(i) {
        this.setData({
            id: i.id,
            session_type: i.type
        });
    },
    bindToReferral: function() {
        wx.navigateTo({
            url: "../../referral/referral"
        });
    },
    bindToSessionDetail: function(i) {
        wx.navigateTo({
            url: "../detail/detail?id=" + this.data.id + "&type=" + this.data.session_type
        });
    }
});